home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 7
/
Apprentice-Release7.iso
/
Source Code
/
Pascal
/
Applications
/
TCPExample
/
PNL Libraries
/
MyInitialization.p
< prev
next >
Wrap
Text File
|
1996-10-23
|
556b
|
37 lines
unit MyInitialization;
interface
procedure Initialization;
implementation
uses
Types, Resources, Fonts, Windows, QuickDraw, Menus, TextEdit, Dialogs, Memory;
{$IFC not GENERATINGPOWERPC}
function StackPtr: longint;
inline
$2E8F;
{$ENDC}
procedure Initialization;
var
i: integer;
begin
InitGraf(@qd.thePort);
InitFonts;
InitWindows;
InitMenus;
TEInit;
InitDialogs(nil);
{$IFC not GENERATINGPOWERPC}
SetApplLimit(Ptr(StackPtr - 32768));
{$ENDC}
MaxApplZone;
for i := 1 to 3 do begin
MoreMasters;
end;
end;
end.